package com.mer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mer.entity.Teacher;
import com.mer.vo.CommonResult;
import com.mer.vo.NewLecturerVo;
import com.mer.vo.TeacherVo;

/**
 * @program: IIPhase-project
 * @description: 教师业务层
 * @author: 张庆恒
 * @create: 2021-10-19 09:20
 **/

public interface TeacherService extends IService<Teacher> {
    //返回全部
    CommonResult findTeacherAll(Integer page, Integer limit, TeacherVo teacherVo);

    //修改状态
    CommonResult changeTeacherStatus(TeacherVo teacherVo);

    //修改讲师信息
    CommonResult updateTeacherInfo(TeacherVo teacherVo);

    //新增讲师
    CommonResult addTeacher(NewLecturerVo newLecturerVo);

}
